I tried using the DXTrace function, but all it says even if i make an error occur is unknown error. It doesn't show the file or line number like the docs say it should.
I am linking against DxErr9.lib ( i tried dxErr.lib also ).
This is how i am using it. Am I doing this wrong?
Code:HRESULT RetVal = sData->d3D->CreateDevice(D3DADAPTER_DEFAULT, D3DDEVTYPE_HAL, sData->hWnd, D3DCREATE_HARDWARE_VERTEXPROCESSING, &d3dpp, &sData->d3DDev); if ( RetVal != D3D_OK ) { DXTrace(__FILE__,__LINE__,RetVal,NULL,TRUE); Shutdown(); exit(1); }


